package com.xll.mapper;

import com.github.pagehelper.Page;
import com.xll.entity.TravelBook;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelBookMapper {

    void insert(TravelBook travelBook);

    List<TravelBook> findByUserId(@Param("userId") Long userId);

    Page<TravelBook> findPage(String queryString);
}
